package com.zking.service.impl.lp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.mapper.lp.OpenMapper;
import com.zking.service.lp.OpenBasedao;

@Service
public class BasedaoOpen implements OpenBasedao{
	@Autowired
	OpenMapper openmapper;
	
//	@Override
//	public int upOpen(Open open) {
//		int i = openmapper.upOpens(open);
//		return i;
//	}
//
//	@Override
//	public int upName(Open open) {
//		int i = openmapper.upNames(open);
//		return i;
//	}

	@Override
	public int upOpens(String number, String mail) {
		int i = openmapper.upOpen(number,mail);
		return i;
	}

	@Override
	public int upNames(String com_name) {
		int i = openmapper.upName(com_name);
		return i;
	}

}
